

<%@ page import="ecitys.gcs.Verba" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'verba.label', default: 'Verba')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.create.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${verbaInstance}">
            <div class="errors">
                <g:renderErrors bean="${verbaInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="codigoDaVerba"><g:message code="verba.codigoDaVerba.label" default="Codigo Da Verba" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'codigoDaVerba', 'errors')}">
                                    <g:textField name="codigoDaVerba" maxlength="4" value="${verbaInstance?.codigoDaVerba}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="nomeDaVerba"><g:message code="verba.nomeDaVerba.label" default="Nome Da Verba" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'nomeDaVerba', 'errors')}">
                                    <g:textField name="nomeDaVerba" maxlength="30" value="${verbaInstance?.nomeDaVerba}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoInss"><g:message code="verba.baseCalculoInss.label" default="Base Calculo Inss" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoInss', 'errors')}">
                                    <g:textField name="baseCalculoInss" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoInss')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoIrf"><g:message code="verba.baseCalculoIrf.label" default="Base Calculo Irf" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoIrf', 'errors')}">
                                    <g:textField name="baseCalculoIrf" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoIrf')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoFgts"><g:message code="verba.baseCalculoFgts.label" default="Base Calculo Fgts" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoFgts', 'errors')}">
                                    <g:textField name="baseCalculoFgts" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoFgts')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoRais"><g:message code="verba.baseCalculoRais.label" default="Base Calculo Rais" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoRais', 'errors')}">
                                    <g:textField name="baseCalculoRais" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoRais')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoDsr"><g:message code="verba.baseCalculoDsr.label" default="Base Calculo Dsr" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoDsr', 'errors')}">
                                    <g:textField name="baseCalculoDsr" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoDsr')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="baseCalculoSf"><g:message code="verba.baseCalculoSf.label" default="Base Calculo Sf" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'baseCalculoSf', 'errors')}">
                                    <g:textField name="baseCalculoSf" value="${fieldValue(bean: verbaInstance, field: 'baseCalculoSf')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="comprovanteRendimentosPagos"><g:message code="verba.comprovanteRendimentosPagos.label" default="Comprovante Rendimentos Pagos" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'comprovanteRendimentosPagos', 'errors')}">
                                    <g:textField name="comprovanteRendimentosPagos" value="${fieldValue(bean: verbaInstance, field: 'comprovanteRendimentosPagos')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="opcaoBaseCalculo"><g:message code="verba.opcaoBaseCalculo.label" default="Opcao Base Calculo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'opcaoBaseCalculo', 'errors')}">
                                    <g:textField name="opcaoBaseCalculo" value="${fieldValue(bean: verbaInstance, field: 'opcaoBaseCalculo')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="proporcional"><g:message code="verba.proporcional.label" default="Proporcional" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'proporcional', 'errors')}">
                                    <g:textField name="proporcional" value="${fieldValue(bean: verbaInstance, field: 'proporcional')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="mesDeCalculo"><g:message code="verba.mesDeCalculo.label" default="Mes De Calculo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'mesDeCalculo', 'errors')}">
                                    <g:textField name="mesDeCalculo" value="${fieldValue(bean: verbaInstance, field: 'mesDeCalculo')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="tipoDeCalculo"><g:message code="verba.tipoDeCalculo.label" default="Tipo De Calculo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'tipoDeCalculo', 'errors')}">
                                    <g:textField name="tipoDeCalculo" value="${fieldValue(bean: verbaInstance, field: 'tipoDeCalculo')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="verbaBase"><g:message code="verba.verbaBase.label" default="Verba Base" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'verbaBase', 'errors')}">
                                    <g:select name="verbaBase.id" from="${ecitys.gcs.VerbaBase.list()}" optionKey="id" value="${verbaInstance?.verbaBase?.id}" noSelection="['null': '']" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="fatorDeDivisao"><g:message code="verba.fatorDeDivisao.label" default="Fator De Divisao" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'fatorDeDivisao', 'errors')}">
                                    
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="fatorDeMultiplicacao"><g:message code="verba.fatorDeMultiplicacao.label" default="Fator De Multiplicacao" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'fatorDeMultiplicacao', 'errors')}">
                                    
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="indice"><g:message code="verba.indice.label" default="Indice" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'indice', 'errors')}">
                                    <g:select name="indice.id" from="${ecitys.gcs.Indice.list()}" optionKey="id" value="${verbaInstance?.indice?.id}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="naturezaDaVerba"><g:message code="verba.naturezaDaVerba.label" default="Natureza Da Verba" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'naturezaDaVerba', 'errors')}">
                                    <g:textField name="naturezaDaVerba" value="${fieldValue(bean: verbaInstance, field: 'naturezaDaVerba')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="percentual"><g:message code="verba.percentual.label" default="Percentual" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'percentual', 'errors')}">
                                    
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="valorBase"><g:message code="verba.valorBase.label" default="Valor Base" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'valorBase', 'errors')}">
                                    
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="verbaConsignada"><g:message code="verba.verbaConsignada.label" default="Verba Consignada" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: verbaInstance, field: 'verbaConsignada', 'errors')}">
                                    <g:checkBox name="verbaConsignada" value="${verbaInstance?.verbaConsignada}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
